package com.wjk.kylin.mall.admin.service;

import com.wjk.kylin.mall.admin.entity.RoleEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wjk.kylin.mall.admin.entity.UserEntity;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 角色信息表 服务类
 * </p>
 *
 * @author wangjinkui
 * @since 2021-11-14
 */
public interface IRoleService extends IService<RoleEntity> {

    /**
     * 根据用户查询角色
     * @param user
     * @return
     */
    List<String> findRolePermissionByUser(UserEntity user);
}
